package com.tfjybj.itoo.exam.model;

/**
 * @Description: 考试详情表
 * @Author: 王雪芬
 * @CreateDate: 2018/11/21 15:23
 * @UpdateUser: 王雪芬
 * @UpdateDate: 2018/11/21 15:23
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

@ApiModel(value = "ExamOnlineinforedisModel:试卷信息")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class ExamOnlineinforedisModel extends ExamRoomModel {

    @ApiModelProperty(value = "examinee主键")
    private String id;
    /**
     * 学生姓名
     */
    @ApiModelProperty(value = "学生姓名")
    private String studentName;

    /**
     * 学生id
     */
    @ApiModelProperty(value = "学生id")
    private String studentId;

    /**
     * 学生学号
     */
    @ApiModelProperty(value = "学生学号")
    private String studentCode;

    /**
     * 班级名
     */
    @ApiModelProperty(value = "班级名")
    private String className;

    /**
     * 班级id
     */
    @ApiModelProperty(value = "班级id")
    private String classId;

    /**
     * 专业名
     */
    @ApiModelProperty(value = "专业名")
    private String majorName;

    /**
     * 专业id
     */
    @ApiModelProperty(value = "专业id")
    private String majorId;

    /**
     * 学院名
     */
    @ApiModelProperty(value = "学院名")
    private String collegeName;

    /**
     * 学院id
     */
    @ApiModelProperty(value = "学院id")
    private String collegeId;

    /**
     * 考试id
     */
    @ApiModelProperty(value = "考试id")
    private String examinationId;

    /**
     * 与考试考场关联_id
     */
    @ApiModelProperty(value = "与考试考场关联_id")
    private String examRoomId;

    /**
     * 学生考试状态（0未登录，1已抽，2正在考试，3交卷）
     */
    @ApiModelProperty(value = "学生考试状态（0未登录，1已抽，2正在考试，3交卷）", example = "0")
    private Integer studentExamState;

    /**
     * 学生IP
     */
    @ApiModelProperty(value = "学生IP")
    private String studentIp;

    /**
     * 交卷日期时间
     */
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8"
    )
    @ApiModelProperty(value = "交卷日期时间")
    private Date submitTime;

    /**
     * 登录时间
     */
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8"
    )
    @ApiModelProperty(value = "登录时间")
    private Date loginTime;

    /**
     * 缺考信息
     */
    @ApiModelProperty(value = "缺考信息")
    private String absentInfo;

    /**
     * 获取抽题时间
     */
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8"
    )
    @ApiModelProperty(value = "获取抽题时间")
    private Date getQuestionTime;

    /**
     * 理论交卷日期时间
     */
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8"
    )
    @ApiModelProperty(value = "理论交卷日期时间")
    private Date shouldSubmitTime;

    /**
     * 考试时长(分钟)
     */
    @ApiModelProperty(value = "考试时长(分钟)", example = "0")
    private Integer examDuration;

    /**
     * 头像链接地址
     */
    @ApiModelProperty(value = "头像链接地址")
    private String pictureAddress;


    /**
     * 操作人
     */
    @ApiModelProperty(value = "操作人")
    private String operator;
    //endregion

}
